package com.bugpool.leilema.tc.bean.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @Author wh
 * @Description 角色 关联 数据树
 * @Date 2023/6/16 16:03
 * @Version 1.0
 **/
@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName("tb_role_data_tree")
@ApiModel("角色关联 数据树")
public class SysRoleDataTree {

    @ApiModelProperty("主键id")
    @TableId(type = IdType.ASSIGN_ID)
    private Long roleDataTreeId;


    @ApiModelProperty("数据树id")
    private Long treeId;


    @ApiModelProperty("角色id")
    private Long roleId;


}
